<?php
function logg($msg){
	$handler=fopen('msg.php','a+');
	//flock($handler);
	fwrite($handler,$msg);
	fclose($handler);
}
?>